]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
overview: Move comment
authorFlorian Müllner <fmuellner@gnome.org>
Thu, 16 Jul 2015 13:14:50 +0000 (15:14 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Thu, 23 Jul 2015 10:43:28 +0000 (12:43 +0200)
js/ui/overview.js

index 551900338b72d454bf7f7422d654b83c386dc8a6..89c623733259534d23f201332a1e60cb43dd7ccc 100644 (file)
@@ -107,12 +107,6 @@ const Overview = new Lang.Class({
 
         this._overviewCreated = true;
 
-        // The main Background actors are inside global.window_group which are
-        // hidden when displaying the overview, so we create a new
-        // one. Instances of this class share a single CoglTexture behind the
-        // scenes which allows us to show the background with different
-        // rendering options without duplicating the texture data.
-
         let layout = new Clutter.BinLayout();
         this._stack = new Clutter.Actor({ layout_manager: layout });
         this._stack.add_constraint(new LayoutManager.MonitorConstraint({ primary: true }));
@@ -127,6 +121,11 @@ const Overview = new Lang.Class({
                                             y_expand: true });
         this._overview._delegate = this;
 
+        // The main Background actors are inside global.window_group which are
+        // hidden when displaying the overview, so we create a new
+        // one. Instances of this class share a single CoglTexture behind the
+        // scenes which allows us to show the background with different
+        // rendering options without duplicating the texture data.
         this._backgroundGroup = new Meta.BackgroundGroup();
         Main.layoutManager.overviewGroup.add_child(this._backgroundGroup);
         this._bgManagers = [];